package com.databasir.dao.tables.records;

import org.jooq.Field;
import org.jooq.Record1;
import org.jooq.Record10;
import org.jooq.Row10;
import org.jooq.impl.UpdatableRecordImpl;

import java.time.LocalDateTime;

@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class DataSourceRecord extends UpdatableRecordImpl<DataSourceRecord> implements Record10<Integer, Integer, String, String, String, String, String, String, LocalDateTime, LocalDateTime> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for<code>databasir.data_souce.id </code>
     *
     *
     * */
     public void setId(Integer value){
         set(0, value);

     }
    /**
     * Getter for <code>databasir.data_source.id</code>.
     */
    public Integer getId() {
        return (Integer) get(0);
    }

    /**
     * Setter for <code>databasir.data_source.project_id</code>.
     */
    public void setProjectId(Integer value) {
        set(1, value);
    }

    /**
     * Getter for <code>databasir.data_source.project_id</code>.
     */
    public Integer getProjectId() {
        return (Integer) get(1);
    }

    /**
     * Setter for <code>databasir.data_source.database_name</code>.
     */
    public void setDatabaseName(String value) {
        set(2, value);
    }

    /**
     * Getter for <code>databasir.data_source.database_name</code>.
     */
    public String getDatabaseName() {
        return (String) get(2);
    }

    /**
     * Setter for <code>databasir.data_source.schema_name</code>.
     */
    public void setSchemaName(String value) {
        set(3, value);
    }

    /**
     * Getter for <code>databasir.data_source.schema_name</code>.
     */
    public String getSchemaName() {
        return (String) get(3);
    }

    /**
     * Setter for <code>databasir.data_source.database_type</code>.
     */
    public void setDatabaseType(String value) {
        set(4, value);
    }

    /**
     * Getter for <code>databasir.data_source.database_type</code>.
     */
    public String getDatabaseType() {
        return (String) get(4);
    }

    /**
     * Setter for <code>databasir.data_source.url</code>.
     */
    public void setUrl(String value) {
        set(5, value);
    }

    /**
     * Getter for <code>databasir.data_source.url</code>.
     */
    public String getUrl() {
        return (String) get(5);
    }

    /**
     * Setter for <code>databasir.data_source.username</code>.
     */
    public void setUsername(String value) {
        set(6, value);
    }

    /**
     * Getter for <code>databasir.data_source.username</code>.
     */
    public String getUsername() {
        return (String) get(6);
    }

    /**
     * Setter for <code>databasir.data_source.password</code>.
     */
    public void setPassword(String value) {
        set(7, value);
    }

    /**
     * Getter for <code>databasir.data_source.password</code>.
     */
    public String getPassword() {
        return (String) get(7);
    }

    /**
     * Setter for <code>databasir.data_source.update_at</code>.
     */
    public void setUpdateAt(LocalDateTime value) {
        set(8, value);
    }

    /**
     * Getter for <code>databasir.data_source.update_at</code>.
     */
    public LocalDateTime getUpdateAt() {
        return (LocalDateTime) get(8);
    }

    /**
     * Setter for <code>databasir.data_source.create_at</code>.
     */
    public void setCreateAt(LocalDateTime value) {
        set(9, value);
    }

    /**
     * Getter for <code>databasir.data_source.create_at</code>.
     */
    public LocalDateTime getCreateAt() {
        return (LocalDateTime) get(9);
    }

    // -------------------------------------------------------------------------
    // Primary key information
    // -------------------------------------------------------------------------

    @Override
    public Record1<Integer> key() {
        return (Record1) super.key();
    }

    @Override
    public Row10<Integer, Integer, String, String, String, String, String, String, LocalDateTime, LocalDateTime> fieldsRow() {
        return (Row10) super.fieldsRow();
    }

    @Override
    public Row10<Integer, Integer, String, String, String, String, String, String, LocalDateTime, LocalDateTime> valuesRow() {
        return (Row10) super.valuesRow();
    }
















}
